{foreach from=$debug_messages item=msg}
	<li class="dmesg_{$msg.level}"><span class="time">{$msg.time}</span>{$msg.text}
		{if $msg.desc}<span class="desc"><br />&nbsp;&nbsp;{$msg.desc}</span>{/if}</li>
{/foreach}
